package cn.tedu.micro.order.dao.repository.impl;

import cn.tedu.micro.order.dao.mapper.OrderInfoMapper;
import cn.tedu.micro.order.dao.repository.OrderRepository;
import cn.tedu.micro.order.po.OrderInfoPO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class OrderRepositoryImpl implements OrderRepository {
@Autowired
private OrderInfoMapper orderInfoMapper;
    @Override
    public void saveOrder(OrderInfoPO po) {
        orderInfoMapper.insert(po);
    }
}
